package com.netintech.intelligenceInterface.iflytek.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lining
 * @date 2021/4/26 14:34
 * 科大讯飞地址 现在从yml配置文件中读取
 * 后需要改为冲数据库中读取
 */
@Component
@ConfigurationProperties(prefix = "iflytek")
@Data
public class IFlyTekAddress {
    private String prefix;
    private String url;
    private String port;

    public String combinationRequestAddress(){
        return prefix + url + ":" + port;
    }
}
